home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
- ne.guide
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Generated with Heddley v1.1
- Heddley v1.1 (C) Edd Dumbill 1994
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - Page 1 -
-
-
-
- 1. ne.guide
-
-
-
- Name: NE
-
- Version: 1.20
-
- Format: NE [DEVICE=<Device>] [UNIT=<Unit>]
- [LOGFILE=<Filename>] [COMMAND1=<Command>]
- [COMMAND2=<Command>] [T1=<Time in secs>]
- [T2=<Time in secs>] [T3=<Time in secs>]
- [MODEMINIT=<Modemcommand>] [RingCommand=<Command>]
- [DEBUG] [HELP]
-
- Template: DEVICE/K,UNIT/N,LOGFILE/K,COMMAND1/K,COMMAND2/K,T1/N,T2/N,
- T3/N,MODEMINIT/K,RINGCOMMAND/K,DEBUG/S,HELP/S
-
-
- Function: NE can be used to provide a data-login via the connected mo-
- dem at any time, even if the telephone line is used by a
- answer machine or a fax machine or simply as a voice line.
- It can be used in cooperation with Getty or a similar
- program.
- NE uses the locking mechanism of the OwnDevUnit.library.
-
-
- Manual
-
-
- 2. ne.guide
-
-
-
- Manual for NE:
-
- Copyright Copyright and Copying
- Why NE ? Why NE?
- Function How does NE work?
- Installation How to install NE?
- Exiting How to quit NE?
- Requirements System requirements for NE
- Parameters What do all these parameters mean ?
- Examples How to use NE
- Known Bugs The known bugs of NE
- History The history of NE so far...
- Todo The todo-list of NE
- Credits The authors would like to thank...
- Autoren Who are these authors anyway?
-
- 3. ne.guide
-
- Copyright and Copying:
-
- NE is Copright (C) 1993, 1994 by Klaus Mueller und Thomas Freudling.
-
- NE can be copied but only for non-profit reasons. The maximum price for it
- should be the disk price plus postage. Redistribution of a changed program
- and/or documentation is strictly prohibited! Any form of commercial usage
- without knowledge of the authors is also prohibited.
-
- There is no shareware fee or similar for this program at the moment but it
- shouldn`t prevent anybody from expressing his/her acknowledgement to the
- authors through eMail or regular mail. However this should not prevent any-
- body from sending money or other stuff which can be useful in real life.
- ;-)))
-
-
- - Page 2 -
- 3. ne.guide
-
- There is no warranty when using NE! We are not responsible for any loss of
- data or any kind of trouble caused by NE. Use it at your own risk! We do
- not guarantee that all the functions work as described in the manual.
-
- 4. ne.guide
-
-
- The Authors:
-
- Klaus Mueller: Thomas Freudling:
-
- Snail: Ludwigstrasse 33 Kanalstrasse 5
- 86316 Friedberg 88457 Kirchdorf
- Germany Germany
-
- eMail: max@tripos.augusta.de nemo@izeps.augusta.de
-
- 5. ne.guide
-
- Why Ne ?
-
- NE was written to solve a problem that many modem users share if they want to
- allow a remote login on their computer without paying for a second tele- phone
- line. Therefore a friend of ours wrote a small script using the script
- language of the terminalprogram NComm that solved this problem in the
- following way:
-
- The script waited for a RING sign from the modem. After the first ring it
- waited some time for another ring. If there were other rings following the
- first the script interpreted it as a normal telephone call and it did no-
- thing. But if there was only one ring it was interpreted as an announcement
- for a remote login and the script waited some time for the next call. If
- there was a second call within a specified time, the script answered this
- call at the first ring and a login was possible. Very similar to this works
- NE. NE therefore stands for the german term `NComm-Ersatz`, which means
- `NComm-Replacement` as it was written simply for that reason in the first
- place. And as you know that programmers hate to type long filenames it was
- abbreviated to `NE`. :-)
-
- The advantage of this method is obvious: Nearly all fax machines or answer
- machines wait for a second ring. Anybody who knows about the program has to
- call once for the first ring and to drop the line before the answer or fax
- machine answers. If the second call comes within a specified time the
- computer goes off hook at the first ring sign even before a answer or fax
- machine can answer the call. Using this method it is possible to make your
- computer accessible 24 hours a day without paying for a data phoneline.
-
- "Normal" callers usually don`t introduce themselves by calling once and so
- they are ignored by NE and the call can be answered personally or by one of
- the machines mentioned above.
-
-
- 6. ne.guide
-
- Function:
-
- NE works in cooperation with Getty or a similar program. NE locks the modem
- until it detects one single RING sign which is NOT followed by a second
- one. If this is the case NE frees the modem and a parallel running Getty
- should take control over the modem. If everything is configured appro-
- priately, Getty should answer the next call.
-
- After a specified time NE is trying to take control over the modem again. If
- there was no remote login, Getty will be repressed by NE again. If there is
- somebody logged into your computer, NE waits until the modem hangs up
- because Getty can only be repressed when the modem is free.
-
- NOTICE: This is only possible if Getty (or some other program) uses the
-
- - Page 3 -
- 6. ne.guide
-
- locking mechanism of the OwnDevUnit.library. You have to use the Getty
- that comes with AmigaUUCP V1.16 or some other version >= 1.16.
-
- Everytime NE takes over, ATZ is sent to the modem to reset it. The modem
- settings are set to the default values. NE uses the baud rate specified in
- the preferences program. It is always possible to repress NE by using the
- OwnDevUnit.library. Programs like uucico (>= version 1.16), LockSerial or
- LockSer can easily regain control over the modem even if NE is running.
-
- Programs which want to access the serial port without using the OwnDevUnit-
- .library must be started with `LockSerial` or `LockSer`.
-
- To quit NE simply send a CTRL-C (i.e. a `break`) using the C:Break command.
-
- 7. ne.guide
-
- Installation:
-
- - Copy NE into a directory somewhere in your search path.
-
- - Getty and NE should be started in S:User-Startup or SYS:WBStartup. Getty
- should be configured in a way that it answers a call in less ring signs
- than the connected fax or answer machine.
-
- 8. ne.guide
-
- Qutting NE:
-
- Simply send a CTRL-C to the shell process in which NE is running. You can do
- this via the C:Break command.
-
- 9. ne.guide
-
- Requirements:
-
- - NE only works with version 2.0 or greater of the operating system. - NE only
- works with Hayes compatible modems.
-
- - NE was developed on a Amiga 4000/040 running version 3.0 of the operating
- system. It was compiled using the SAS/C Compiler Version 6.51.
-
- It was tested on the following configurations:
-
- Amiga 4000/040 with ZyXEL U1496E modem
- Amiga 4000/040 with Supra V.32bis modem
- Amiga 3000-25 with ZyXEL U1496E+ modem
- Amiga 3000-25 with Supra V.32bis modem
- Amiga 3000-25 with U.S. Robotics Dual Standard modem
-
- (sorry, no vanilla models available for testing... ;-)
-
- The following OS versions were used:
-
- OS 3.0 (Kickstart 39.106, Workbench 39.29)
- OS 2.1 (Kickstart 37.175, Workbench 38.35)
-
- The following serial boards were used during the test phase:
-
- MultiFaceCard II and III
- HK VectorConnection
- GVP IOExtender
-
-
- 10. ne.guide
-
- Parameters:
-
- All parameters are optional. If a parameter wasn`t specified at the command
-
- - Page 4 -
- 10. ne.guide
-
- line the default value is used.
-
- Parameter: Defaultvalue:
-
- DEVICE serial.device
- UNIT 0
- LOGFILE log:ne.log
- COMMAND1 - <no command> -
- COMMAND2 - <no command> -
- T1 8 secs.
- T2 10 secs.
- T3 60 secs.
- MODEMINIT - <no init-string> -
- RINGCOMMAND - <off> -
- DEBUG - <off> -
- HELP - <off> -
-
- We STRONGLY suggest first-time users not to change the parameters.
- Especially the time-parameters should not be changed.
-
- You will find the default values quite suitable for your needs. Even if you
- are using some ancient machines sold by the german telephone company for an
- enourmous amount of money. ;-)
-
- 11. ne.guide
-
- DEVICE:
-
- The device over which the modem can be used.
- The specified device MUST be compatible to the standard serial.device.
-
- 12. ne.guide
-
- UNIT:
-
- The unit number of the device used by NE.
-
- 13. ne.guide
-
- LOGFILE:
-
- Path and filename of the logfile. If you don`t want to have a logfile
- you can specify NIL: here.
-
- 14. ne.guide
-
- COMMAND1:
-
- A command that is executed in the background by NE after the recognition
- of the first RING signal and a successful free-up of the modem. Here you
- can specify a simple shell script that informs you about the activities
- of the remote user.
-
- 15. ne.guide
-
- COMMAND2:
-
- A command that is executed in the background by NE after NE has regained
- control over the modem and if there was a time in which NE was repressed
- from the serial port. This command can be used to terminate the script
- mentioned in the section `COMMAND1` after the remote user has dropped
- the line.
-
- 16. ne.guide
-
- T1:
-
-
- - Page 5 -
- 16. ne.guide
-
- The time in seconds between two RING signs. If there is no second RING
- sign within the specified time, NE interprets this as one single ring
- and vanishes from the serial port.
-
- 17. ne.guide
-
- T2:
-
- The time in seconds NE waits until it tries to lock the device again af-
- ter it free`d up the device for the time specified in `T3`. The maximum
- amount of time after a logoff and the modem takeover is specified here.
-
- 18. ne.guide
-
- T3:
-
- The time in seconds NE frees up the device after a single RING sign. Af-
- ter this period, NE tries to lock the device again in intervals of T2-
- seconds.
-
- 19. ne.guide
-
- MODEMINIT:
-
- The initstring sent to the modem after NE has regained control over it
- again and "ATZ" was sent to the modem.
-
- 20. ne.guide
-
- RingCommand:
-
- This command is executed by NE after the second RING sign. Therefore it
- can be used to announce `normal` phone calls. You can specify a program
- that informs the user sitting at the console. Very useful for people who
- like to hear loud music while working at the computer. :-)
-
- 21. ne.guide
-
- DEBUG:
-
- If this flag is given, lots of debug information is sent to stdout. This
- is only useful when you are searching for errors on your system.
-
- 22. ne.guide
-
- HELP:
-
- NE sends out a small help text to stdout.
-
- 23. ne.guide
-
- Examples:
-
- NE
- -> The standard call for NE.
-
- NE d=foo.device u=7 l=ram:ne.log
- -> NE is started on foo.device unit 7 and the logfile is ram:ne.log
-
- NE c1=myscript rc=wb2front
- -> Myscript is executed at every remote login. In addition, the Work-
- bench is brought to front if a normal voice call is recognized.
-
- 24. ne.guide
-
- Known Bugs:
-
-
- - Page 6 -
- 24. ne.guide
-
- - It may be possible that another caller breaks through between the first
- RING signal and the second call. Obviously this is not very good for this
- person as the modem whistles and tries to connect to the callers ear. :-)
-
- - It may also be possible that a irresolute caller is ringing once and then
- hangs up. In this case the same things happen as described above.
-
- - If you are using a modem from U.S. Robotics it may be possible that these
- machines are set to their default baud rate after being reset by "ATZ".
- Since NE always sends "ATZ" to the modem when initializing it, it may be
- possible that the next RING signal sent from the modem to the computer is
- not recognized in the right way.
-
- A workaround for this is to specify an additional "AT" at NE`s command-
- line. This should set the modem to the correct baud rate. You should try
- something like:
-
- NE M=AT <insert your other parameters here>
-
- This occurs at least with the U.S. Robotics Dual Standard modem on which
- we have tested NE here. `ATI7` brings the following message:
-
- Configuration Profile...
-
- Product type External
- Options HST,V32
- Clock Freq 16.0Mhz
- Eprom 64k
- Ram 32k
-
- Supervisor date 11/30/90
- IOP date 10/11/90
- DSP date 11/15/90
-
- Supervisor rev 3.0
- IOP rev 1.3
- DSP rev 10
-
- This bug may be corrected in some other revision of the modem firmware.
-
- - If the baud rate of the modem is changed in any other way, i.e. by
- switching the modem off and turning it on again, the same problems may
- occur as described above.
- You can force NE to initialize the modem again by typing ` lockserial
- "wait 1" ` at the shell prompt.
-
- - Using Term, be careful with Owndevunit.Library. Because term gives up
- the device when requested by ne. Solvage:
-
- ° Disable the usage of ODU in term (menu-settings-serial opt. UseOdu)
- ° start term with our LockSer with the check-mode option.
- examp: "LockSer a c term"
-
- Now LockSer owns the Serial.device as long as Term is on the line.
-
- - using ne with ax-server of axsh:
-
- axsh:etc/rc.server
-
-
- %newshell: /* AXsh's serial startup command in AX-server */
- lockser c >nil: (file)
-
- file:
- newshell >NIL: AXAUX:serial.device/0/shared/checkcd from
- AXsh:etc/remote-startup
-
-
- - Page 7 -
- 24. ne.guide
-
-
- - (lowercase ON) you are not allowed to use this tool on the german phone
- network. (lowercase OFF)
-
- 25. ne.guide
-
- History:
-
- 1.20 - minor bugfixes.
- solved problem with blocked shell.
- FreeArgs-problem solved.
- solved problem with used Device w/o ownername.
-
- 1.10 - Rewritten for the SAS/C Compiler
- Bugfix in Log-Routine (no visits from India anymore ;-)
- Changed setting of the SERF_EOFMODE flag so that NE now works with
- the GVP IOExtender Thanks to Stephen L. Johnson <sjohnson@godzilla-
- .speedway.net> for the detailed bugreport
-
- 1.00 - First official version
- Option WB2Front removed :-)
- Ringcommand added
- Negative time values no longer crash timer.device
-
- 0.73b - Option WB2Front added
- Manual re-written in AmigaGuide® format
-
- 0.72b - When closing the device EOFMODE is set back now. This could cause
- problems when running UUCP.
-
- 0.71b - The modemreset with "ATZ" finally works
-
- 0.70b - First beta-release
-
-
- 26. ne.guide
-
- Todo:
-
- ° any suggestions ?
-
-
- 27. ne.guide
-
- Credits:
-
- For the inital idea and extensive betatesting we would like to thank
-
- Willi 'Warrior' Ziegler <warrior@hss.abg.sub.org>
-
- also our other betatesters:
-
- Harald 'Slartibartfast' Mayr <marvin@bike.augusta.de>
-
- Juergen 'Araneus' Steiner <araneus@barbar.augusta.de>
-
- For the translation of the documentation we would like to thank
-
- Harald 'Slartibartfast' Mayr <marvin@bike.augusta.de>
-
-